package com.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class Stu {
    @TableId(type = IdType.AUTO)
    private long id;
    private String username,pass;
    private double java,math,os;

    public Stu() {
    }

    public Stu(String username, String pass, double java, double math, double os) {
        this.username = username;
        this.pass = pass;
        this.java = java;
        this.math = math;
        this.os = os;
    }
}